﻿@model IEnumerable<Cofe.Web.Models.ExplorerViewModel>
<div id="breadcrumb">    
    <ul>
        <li>  @Html.ActionLink("Root", "Browse")</li>
        @foreach (var evm in Model)
        {        
            <li>
                @Html.ActionLink(evm.RootDirectory.Name, "Browse", new { path = evm.RootDirectory.ParseName })
             @*   <ul>
                    @foreach (var subevm in evm.SubEntries)
                    {        
                        <li>@Html.ActionLink(subevm.Name, "Browse", new { path = subevm.ParseName })</li>
                    }
                   
                </ul>*@
            </li>
        }
    </ul>
</div>

@*    @Html.DropDownListFor(m => evm.RootDirectory.Name, 
        new SelectList(evm.SubEntries, "Name", "Label"), evm.RootDirectory.Name);    *@
